#!/bin/bash

echo "java -cp bin:bin/gearley.jar Main input/$1.ic -Linput/libic.sig > $1.tac"
java -cp bin:bin/gearley.jar Main input/$1.ic -Linput/libic.sig > $1.tac
echo "java -jar src/3ac-emu.jar -q -a $1.tac > $1.ours"
java -jar src/3ac-emu.jar -q -a $1.tac > $1.ours
echo diff output/$1.out $1.ours
diff output/$1.out $1.ours
rm $1.ours $1.tac
